package com.igeek.service;

import com.igeek.domain.Product;
import com.igeek.domain.Productimage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author spike
 * @since 2022-01-12
 */
public interface ProductimageService extends IService<Productimage> {
     Productimage getPImgByPid(Integer pid);

     void setSingleImg(Product product);

     void setDetailImg(Product product);

     /*填充产品第一张图片*/
     void fillFirstImage(List<Product> products);
}
